import 'package:flutter/cupertino.dart';

/// 状态管理 provider

class BottomNaviProvider with ChangeNotifier{
  int bottomNaviIndex = 0;

  void changeBottomNaviIndex(int index){
    if(this.bottomNaviIndex != index){
      this.bottomNaviIndex = index;
      notifyListeners();
    }
  }
}